import pylab as pl
#shiyu info
a = [8.1825,  -5.8175 ,-11.8175 , -13.8175 , -15.8175  , -5.8175   , 2.1825,
    4.1825 , -15.8175 , -12.8175 ,  -2.8175 ,  -0.8175 ,  -3.8175 ,   4.1825,
   23.1825 ,  36.1825 ,  30.1825 ,  25.1825 ,  48.1825 ,  67.1825  , 53.1825,
   50.1825 ,  50.1825 ,  39.1825 ,  47.1825 ,  90.1825 ,  85.1825  , 75.1825,
   86.1825 , 102.1825 , 110.1825 ,  85.1825  , 57.1825 ,  27.1825  ,  7.1825,
   25.1825 ,  33.1825 ,  33.1825 ,  26.1825 ,  16.1825 ,   2.1825  , 31.1825,
   14.1825 ,  26.1825 ,  49.1825 ,  53.1825,  60.1825  , 58.1825  , 57.1825,
   44.1825 ,  39.1825 ,  53.1825 ,  46.1825 ,  39.1825 ,  37.1825  , 49.1825,
   84.1825 ,  97.1825 ,  91.1825 ,  84.1825 ,  91.1825 ,  92.1825  , 82.1825,
   64.1825 ,  67.1825 ,  81.1825 ,  75.1825 ,  74.1825 ,  76.1825  , 74.1825,
   66.1825 ,  71.1825 ,  67.1825 ,  49.1825  , 42.1825 ,  63.1825  , 59.1825,
   45.1825 ,  47.1825 ,  27.1825 ,  19.1825 ,  45.1825 ,  42.1825  , 54.1825,
   66.1825 ,  68.1825,   64.1825 ,  75.1825 ,  71.1825 ,  31.1825 ,  12.1825,
   21.1825 ,  16.1825 ,  40.1825 ,  39.1825 ,  33.1825 ,  23.1825 ,  43.1825,
   51.1825 ,  40.1825,   28.1825  , 25.1825 ,  24.1825 ,  16.1825 ,  0.1825,
   -4.8175 ,  20.1825,   53.1825  , 64.1825 ,  62.1825 ,  64.1825  , 73.1825,
   72.1825 ,  70.1825 ,  58.1825  , 52.1825 ,  48.1825 ,  47.1825  , 59.1825,
   70.1825 ,  74.1825 ,  71.1825 ,  80.1825  , 76.1825 ,  77.1825 ,  91.1825,
   96.1825 , 105.1825 , 109.1825 , 100.1825 ,  98.1825 , 105.1825 , 112.1825,
  106.1825 ,  78.1825 ,  81.1825 ,  86.1825  , 95.1825  , 93.1825 ,  68.1825,
   55.1825 ,  65.1825 ,  84.1825 ,  76.1825 ,  40.1825  , 23.1825  , 38.1825,
   28.1825 ,  17.1825 ,  -1.8175 , -19.8175 , -41.8175 , -65.8175 , -71.8175,
  -53.8175 , -62.8175 , -71.8175 , -76.8175 , -93.8175 ,-105.8175 , -99.8175,
  -82.8175 , -70.8175 , -66.8175 , -71.8175  ,-62.8175 , -54.8175 , -33.8175,
  -45.8175 , -46.8175,  -37.8175 , -37.8175  ,-52.8175 , -56.8175 , -66.8175,
  -56.8175 , -44.8175 , -73.8175 , -85.8175 , -89.8175 , -80.8175 , -56.8175,
  -20.8175 , -18.8175 , -47.8175 , -48.8175 , -27.8175 , -58.8175 , -91.8175,
  -91.8175 ,-116.8175 , -94.8175 , -98.8175 ,-116.8175 ,-129.8175, -134.8175,
 -133.8175 ,-118.8175, -107.8175 , -80.8175 , -61.8175 , -63.8175 , -83.8175,
  -88.8175 , -70.8175 , -44.8175 , -34.8175  ,-45.8175, -48.8175  ,-49.8175,
  -40.8175 , -39.8175 , -52.8175 , -49.8175 , -31.8175 , -19.8175 , -18.8175,
  -17.8175 , -35.8175 ,-55.8175  ,-58.8175 , -52.8175 , -71.8175 , -89.8175,
  -59.8175 , -42.8175 , -31.8175 , -13.8175 ,   9.1825 ,  30.1825  , 15.1825,
   14.1825 ,  18.1825 ,  17.1825 ,   7.1825 ,  -1.8175 ,  -4.8175  , -6.8175,
  -14.8175 , -36.8175,  -51.8175 , -72.8175 , -80.8175 , -81.8175  ,-76.8175,
  -68.8175 , -46.8175,  -31.8175 , -35.8175, -49.8175  ,-51.8175 ,-37.8175,
  -26.8175 , -39.8175 , -36.8175 , -27.8175 , -10.8175  , 12.1825  ,33.1825,
   40.1825 ,  34.1825 ,  33.1825,   40.1825 ,  58.1825  , 54.1825 ,  30.1825,
   -9.8175 , -36.8175,  -56.8175 , -59.8175 , -59.8175 , -61.8175 ,-76.8175,
  -98.8175 , -89.8175, -105.8175 ,-152.8175 ,-162.8175 ,-152.8175 ,-122.8175,
 -127.8175 ,-148.8175 ,-175.8175 ,-142.8175 ,-129.8175 ,-134.8175 ,-140.8175,
  -91.8175 , -27.8175 , -12.8175,  -43.8175 , -65.8175 , -38.8175 ,-21.8175,
   18.1825 ,  35.1825,   20.1825 ,   9.1825 ,  24.1825 ,  24.1825 ,  18.1825,
   65.1825 , 106.1825,  102.1825 , 113.1825 , 119.1825 , 128.1825 , 133.1825,
  127.1825 , 134.1825 , 147.1825 , 155.1825 , 177.1825 , 181.1825 , 155.1825,
  121.1825 ,113.1825 , 142.1825 , 142.1825 , 119.1825 , 109.1825  , 87.1825,
   63.1825  , 44.1825 ,  13.1825 , -26.8175 , -48.8175 , -50.8175 , -61.8175,
  -83.8175 , -70.8175,  -43.8175 , -48.8175  ,-49.8175 , -39.8175 , -18.8175,
  -19.8175 ,  -5.8175 ,  -0.8175 ,  14.1825 ,  15.1825 ,  19.1825 ,  55.1825,
   49.1825 ,   4.1825 ,  22.1825 ,  21.1825 , -20.8175 , -50.8175 , -42.8175,
  -37.8175 , -59.8175 , -76.8175 , -44.8175 , -54.8175 ,-116.8175 ,-100.8175,
  -68.8175 , -58.8175 , -60.8175 , -80.8175 , -78.8175 , -83.8175 , -90.8175,
  -55.8175 , -56.8175 , -43.8175 , -62.8175 , -63.8175 , -15.8175 ,  -6.8175,
  -14.8175 , -13.8175 , -20.8175 , -13.8175 , -11.8175 , -16.8175 , -37.8175,
  -40.8175 , -28.8175 , -17.8175 , -45.8175 ,-102.8175 ,-127.8175 , -99.8175,
  -90.8175 , -96.8175 , -84.8175 , -45.8175 , -27.8175 , -17.8175 , -19.8175,
    5.1825 ,  22.1825 ,  46.1825 ,  61.1825 ,  48.1825 ,  15.1825  ,  3.1825,
    6.1825]
# pinyu info
f = [  6.96331881e-13 ,  8.51488364e+03 ,  8.14846793e+03,   1.82104568e+03,
   7.76129565e+03  , 4.43550031e+03  , 3.74733001e+03 ,  4.85677784e+03,
   2.73990144e+03 ,  4.65287905e+03  , 4.24269089e+03  , 1.25046544e+03,
   1.64483712e+03  , 5.97403584e+02  , 3.93244567e+03 ,  3.68703592e+03,
   1.76933353e+03 ,  9.26379243e+02  , 4.80448547e+02 ,  1.22318160e+03,
   5.38910722e+02 ,  1.29345817e+03 ,  7.78235988e+02 ,  1.62151105e+03,
   6.51230347e+02 ,  7.65579987e+02 ,  8.95062863e+02 ,  1.31153577e+03,
   8.01569037e+02 ,  7.69069844e+02 ,  5.54029788e+02 ,  8.62864090e+02,
   4.81949576e+02 ,  1.87006948e+02 ,  9.32043173e+02 ,  5.60897779e+01,
   3.10390716e+02 ,  4.54256481e+02 ,  7.12681362e+02 ,  2.84510210e+02,
   4.61154166e+02 ,  5.69411750e+02 ,  6.00978938e+02,   2.90265485e+02,
   3.52051709e+02 ,  7.45166617e+02 ,  1.97018013e+02 ,  2.86635257e+02,
   4.69580852e+02 ,  8.58502052e+02 ,  5.58753419e+02 ,  7.54104300e+02,
   2.81167211e+02 ,  5.59404025e+02 ,  4.72977265e+02 ,  4.35726585e+02,
   4.29551892e+02 ,  6.60578327e+02 ,  8.34789105e+01,   2.03053028e+02,
   1.34573848e+02 ,  2.60264445e+02 ,  2.37126525e+02 ,  2.13789619e+02,
   6.68464243e+02 ,  3.87984301e+02 ,  2.99942699e+02,   5.35583771e+02,
   5.15052847e+02 ,  7.97768225e+01 ,  2.49305445e+02 ,  6.23929885e+02,
   3.00844128e+02 ,  2.34490588e+02 ,  2.38926589e+02 ,  3.88030305e+02,
   3.61102035e+02 ,  4.76277521e+02 ,  5.52127274e+02,   7.70437199e+02,
   1.14839345e+02 ,  3.05073632e+02 ,  8.14655948e+02,   4.27415931e+02,
   4.26816665e+02 ,  2.99962790e+02  , 4.64853454e+02,   3.20278512e+02,
   4.14204354e+02 ,  1.84799283e+02  , 2.43343872e+02 ,  3.19938912e+02,
   3.16437232e+02 ,  2.44257929e+02 ,  1.54740104e+02 ,  3.34260567e+02,
   2.09470940e+02 ,  1.38171341e+02  , 1.83938933e+02 ,  1.16554829e+02,
   1.71746907e+02 ,  1.75489266e+02 ,  4.45344942e+02 ,  3.26522668e+02,
   2.39576499e+02 ,  4.80704142e+02 ,  4.69224365e+02 ,  2.83375437e+02,
   3.41914052e+02 ,  1.88649912e+02 ,  4.13759137e+02 ,  2.45236845e+02,
   2.93707804e+02,   2.81855114e+02 ,  3.22295275e+01 ,  1.22092367e+02,
   1.48597951e+02 ,  1.25837168e+02 ,  2.14890803e+02 ,  3.33504170e+01,
   1.74212040e+02 ,  6.96563034e+01 ,  3.54434933e+02  , 1.24135009e+02,
   1.04276878e+02 ,  2.04998334e+02 ,  9.26155282e+01 ,  3.24368830e+02,
   1.20502840e+02 ,  1.89898736e+02  , 1.66155683e+02 ,  1.65117659e+02,
   1.67695814e+01 ,  5.01625684e+01 ,  1.04971424e+02 ,  1.67999431e+02,
   1.35552612e+02 ,  7.04370536e+01 ,  9.95996637e+01  , 1.43491597e+02,
   3.31370594e+01,   1.19580328e+02 ,  8.41967929e+01 ,  6.49048855e+01,
   5.79789260e+01,  1.07962249e+02 ,  2.07398077e+02  , 1.33907129e+02,
   1.65992629e+02,   2.12249261e+02 ,  1.35873711e+01 ,  2.05081655e+02,
   1.76796344e+02,   4.13928527e+01 ,  1.14155947e+02  , 1.64026983e+02,
   1.31245672e+02 ,  1.12954143e+02  , 7.08842273e+01 ,  1.31501955e+02,
   6.65201082e+01,   1.17153939e+02  , 9.07805497e+01 ,  5.62435194e+01,
   7.83408382e+01 ,  7.89947612e+01 ,  9.49468711e+01 ,  7.89423261e+01,
   4.58155175e+01 ,  7.26507215e+01  , 7.61730336e+01 ,  1.12532793e+02,
   5.71627569e+01,   8.31081160e+01  , 7.13984114e+01 ,  8.10644732e+01,
   5.97905001e+01 ,  1.16268458e+02 ,  9.56394922e+01 ,  8.22516441e+01,
   2.24694749e+00,   5.76772565e+01 ,  4.55748275e+01 ,  1.06225721e+02,
   6.53794029e+01,   4.62235418e+01  , 6.14755910e+01 ,  1.44804870e+02,
   6.26317172e+01,   7.92101054e+01  , 4.65717727e+01 ,  2.40483004e+01,
   7.70914796e+01 ,  5.07268874e+01 ,  8.87699587e+01 ,  1.43896376e+02,
   1.90470836e+01,   8.60658458e+01 ,  7.60183409e+01 ,  5.67195119e+01,
   9.30000000e+01]
#shiyu  huatu
x = [num for num in range(400)];
pl.plot(x,a)
pl.show();
#pinyu  huatu
xf = [num for num in range(201)];
pl.plot(xf,f)
pl.show()


dimensions = [[  19393.93823013 , 12378.63148533  ,  5838.51920829  ,  6500.36339831,5150.38988574],
 [ 207257.26238578 ,  57286.50165463  , 37436.40034526,  25578.71875769, 20387.16224518],
 [  77534.03458393 ,  39035.63158539 ,  14291.48131891 ,  6780.45042641,8336.21603297],
 [  15936.82335334 ,  10361.77703611  ,  8173.51960964  ,  6649.66520133,5373.98676678],
 [   9795.64963531  , 10807.14247935 ,   4879.53051718  ,  3476.82038094, 3595.62941743],
 [  12470.29605011  ,  7850.69904801  ,  3248.00069276 ,   4339.68053854,1973.58824826]]
dx = [0,1,2,3,4]
#10-0,20-10,30-20,40-30,50-40 huatu
pl.plot(dx,dimensions[0],'r');
pl.plot(dx,dimensions[1],'g');
pl.plot(dx,dimensions[2],'blue');
pl.plot(dx,dimensions[3],'y');
pl.plot(dx,dimensions[4],'black');
pl.show()
